Skip to content

fix(desktop): skip WindowsApps bash when resolving Git Bash#2355

Closed
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/skip-windowsapps-bash
Closed

fix(desktop): skip WindowsApps bash when resolving Git Bash#2355
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/skip-windowsapps-bash

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • PATH often puts %LOCALAPPDATA%\Microsoft\WindowsApps\bash.exe (WSL launcher) ahead of Git Bash
  • that stub opens visible terminals and hangs provider discovery / ACP installs
  • skip the WindowsApps dir during bash PATH scans so Git Bash wins

Closes #2328

Test plan

  • windows unit test test_skips_windowsapps_bash_prefers_git_bash
  • on Win11 with both WindowsApps bash and Git Bash: confirm Buzz no longer spawns WSL terminals during navigation / onboarding

Made with Cursor

@Chessing234
Chessing234 requested a review from a team as a code owner July 22, 2026 10:58
@Chessing234

Copy link
Copy Markdown
Contributor Author

bash resolution now skips the windowsapps wsl stub and falls through to git bash.

@Chessing234
Chessing234 force-pushed the fix/skip-windowsapps-bash branch 2 times, most recently from 8387f4f to 63db161 Compare July 22, 2026 11:01
Signed-off-by: Taksh <takshkothari09@gmail.com>
@Chessing234
Chessing234 force-pushed the fix/skip-windowsapps-bash branch from 63db161 to 27fb658 Compare July 22, 2026 11:02
@tzarebczan

Copy link
Copy Markdown

I have this fixed in #2247 also, someone brought it up in my PR.

@Chessing234

Copy link
Copy Markdown
Contributor Author

#2247 looks closed, so leaving this open as the WindowsApps bash skip.

@Chessing234

Copy link
Copy Markdown
Contributor Author

Closing — upstream main already has the WindowsApps bash stub skip (is_windows_apps_alias / #2328).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] WSL terminals spawned by Buzz (Windows)

2 participants